module.exports = (sequelize, Sequelize)=>{
    const Tech = sequelize.define("tech", 
    {
        tech_level: {
            type: Sequelize.INTEGER
        },
        tech_name: {
            type: Sequelize.STRING
        },
        tech_id: {
            type: Sequelize.INTEGER,
            primaryKey: true
        }
    }, 
    {
        indexes:[{
            unique: true,
            fields: ['tech_id']
        }]
    },{
        freezeTableName: true,
        timestamps: false,
    });
    
    Tech.removeAttribute('id');
    Tech.removeAttribute('createdAt');
    Tech.removeAttribute('updatedAt');
    return Tech
}